<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>搜索结果页</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <style>
        .red {
            color: red;
        }
    </style>
</head>
<body>


<table class="table table-bordered" style="margin: 10px">
    <h3 th:text="${'当前页数：'+number}"></h3>
    <h3 th:text="${'每页数量：'+size}"></h3>
    <h3 th:text="${'总页数：'+totalPages}"></h3>
    <h3 th:text="${'总数量：'+totalElements}"></h3>
    <tr>
        <td>序号</td>
        <td>ID</td>
        <td>类型</td>
        <td>标签</td>
        <td>标题</td>
        <td>内容</td>
        <td>高亮内容</td>
    </tr>
    <tr th:each="item, sta:${content}">
        <td th:text="${sta.index + 1}"></td>
        <td th:text="${item.id}"></td>
        <td th:text="${item.type}"></td>
        <td th:text="${item.labels}"></td>
        <td th:text="${item.title}"></td>
        <td th:text="${item.content}"></td>
        <td th:utext="${item.describe}"></td>
    </tr>
</table>

</body>
</html>